<include file="Public/min-header"/>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i> 报单中心会员列表</h3>
                </div>
                <div class="panel-body">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover">
                            <thead>
                                <tr>
                                    <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);"></td>
                                    <td class="text-right">ID</td>
                                    <td class="text-right">呢称</td>
                                    <td class="text-right">级别</td>
                                    <td class="text-left">会员号</td>
                                    <td class="text-left">手机号</td>
                                    <td class="text-left">邮箱号</td>
                                    <td class="text-left">注册时间</td>
                                    <td class="text-left">激活状态</td>
                                    <td class="text-left">会员状态</td>
                                    <td class="text-right">操作</td>
                                </tr>
                            </thead>
                            <tbody>
                            <volist name="userList" id="list">
                                <tr>
                                    <td class="text-center">
                                        <input type="checkbox" name="selected[]" value="{$list['user_id']}">
                                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                                    </td>
                                    <td class="text-right">{$list.user_id}</td>
                                    <td class="text-right">{$list.nickname}</td>
                                    <td class="text-right">{$list.level_name}</td>
                                    <td class="text-left">{$list.account}</td>
                                    <td class="text-left">{$list.mobile}</td>
                                    <td class="text-left">{$list.email}</td>
                                    <td class="text-left">{$list.reg_time|date='Y-m-d H:i',###}</td>
                                    <td class="text-left">
                                        <img width="20" height="20" src="__PUBLIC__/images/<if condition='$list[id_activate] eq 1'>yes.png<else />cancel.png</if>"/>
                                    </td>
                                    <td class="text-left">
                                        <img width="20" height="20" src="__PUBLIC__/images/<if condition='$list[is_lock] eq 1'>yes.png<else />cancel.png</if>"/>
                                    </td>
                                    <td class="text-right">
                                        <a href="{:U('Admin/users/enter',array('user_id'=>$list['user_id']))}" target="_blank">登入</a> |
                                        <a href="{:U('Admin/users/team',array('user_id'=>$list['user_id']))}">团队</a>｜
                                        <a href="{:U('Admin/user/account_log',array('id'=>$list['user_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="账户"><i class="glyphicon glyphicon-yen"></i></a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                        </body>
                        </html>